/**
 *
 */
package cn.com.carsmart.ws.service.impl;

import cn.com.carsmart.ws.ibatis.mapper.BaseMapper;
import cn.com.carsmart.ws.ibatis.mapper.VehicleSimMapper;
import cn.com.carsmart.ws.model.VehicleSim;
import cn.com.carsmart.ws.service.VehicleSimManager;
import cn.com.carsmart.ws.service.impl.GenericBaseManager;

import com.google.inject.Inject;
import com.google.inject.name.Named;

/**
 *
 *
 */
public class VehicleSimManagerImpl extends GenericBaseManager<VehicleSim,Long> implements VehicleSimManager {

    /**
     *
     */
    @Inject
    @SuppressWarnings({"rawtypes","unchecked"})
    public VehicleSimManagerImpl(@Named("VehicleSimMapper") BaseMapper baseMapper) {
        super(baseMapper,VehicleSim.class,VehicleSimMapper.class);
    }

    /*
     *
     */
    @Override
    public int insert(VehicleSim object) {
        int recordCount = super.insert(object);
        return recordCount;
    }

}